package com.leyou.order.service;


import com.leyou.common.dto.OrderDTO;
import com.leyou.order.enums.PayStateEnum;
import com.leyou.order.pojo.Order;

import java.util.Map;

public interface OrderService {

    Long createOrder(OrderDTO orderDTO);

    Order queryOrderById(Long orderId);

    String generatePayUrl(Long orderId);

    void handleNotify(Map<String, String> msg);

    Integer queryPayStateByOrderId(Long orderId);
}
